<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>卓越大厦-沈阳外卖网</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="在卓越大厦附近叫外卖，查看卓越大厦附近的餐厅、美食信息" />
<!-- Bootstrap -->
<link href="publicui/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<!--[if lt IE 9]>
  <script src="public/js/html5shiv.js"></script>
<![endif]-->
<!-- application  -->
<link href="css/head.css" rel="stylesheet" />
<link href="css/foot.css" rel="stylesheet" />
<link href="css/restaurant_manager.css" rel="stylesheet" />
</head>
<body >

<!-----nav-->
<s:include value="shopTop.action"></s:include>
<!---/nav   --> 

<!---/body   -->
<div class="content" > 
<!--   content  -->
<div class="clear"  ></div>
	<div class="wash-paper clearfix" id="profile">
		<s:include value="/WEB-INF/shopkeeper/menu.jsp" />
		<div class="main-content">
            <div class="content-header">
              <h2>  订单管理
              </h2>
              
            </div>
        
            <div class="content-inner">
              <div class="alert rating-time-limit-tips">
              请确定送餐速度
              </div>
            
              <div class="order-list">
              
              
<s:iterator id="o" value="%{pageList.objectList}" status="st" >              
              <!--    循环开始   -->
             	 <span id="ref_time" ref_time='1364954294000'></span>
                     <div class="order-block">
            
                     <div class="order-header">
                      <div class="status-wrapper">
                        <div class="status orange">
                          <s:if test="#o.state==0">
					      	下单
					      </s:if>
					      <s:if test="#o.state==1">
					      	饭店接单
					      </s:if>
					      <s:if test="#o.state==2">
					      	送出
					      </s:if>
					      <s:if test="#o.state==3">
					      	交易成功
					      </s:if>
                        </div>         
                      </div>
            
                      
                      <div class="line-two">
                        <table class="table table-condensed">
                          <tbody>
                            <tr>
                              <td class="col1"><span class="item-name">饿单号:</span><s:property value="#o.id"/></td>
                              <td class="col2"><span class="item-name">下单时间:</span><span class='om_time' om_time = '2013-04-03 09:58:11'><s:date name="#o.addTime" format="yyyy-MM-dd HH:mm"/></span></td>
                              <td class="col3"><span class="item-name">联系电话:</span><s:property value="#o.phone"/>,<s:property value="#o.backPhone"/></td>
                            </tr>
                            <tr>
                              <td class="col1"><span class="item-name">送餐地址:</span><s:property value="#o.address"/></td>
                              <td class="col2"><span class="item-name">备注:</span><s:property value="#o.memo"/></td>
                              <td class="col3"></td>
                            </tr>
                            
                          </tbody>
                        </table>
                      </div>
                    </div>
                    
                    <div class="order-table-wrapper">
                                                  <table class="order-table table table-striped">
                            <thead>
                              <tr>
                                <th class="col-name">美食篮子</th>
                                <th class="col-rating"></th>
                                <th class="col-price">单价</th>
                                <th class="col-quantity">数量</th>
                                <th class="col-sub-total">小计</th>
                              </tr>
                            </thead>
            
                            <tbody>
                            <s:iterator id="m" value="%{#o.menuList}" status="st" >
                            <tr 10654168>
                                    <td class="col-name">
                                      <span><s:property value="#m.menuName" /></span>
                                    </td>
                                    <td class="col-rating">
                                    </td>
                                    <td class="col-price">￥<s:property value="#m.priceShow" /></td>
                                    <td class="col-quantity"><s:property value="#m.copies" /></td>
                                    <td class="col-sub-total">￥<s:property value="#m.totalPriceShow" /></td>
                                  </tr>
            				</s:iterator>
                            </tbody>
                          </table>
                        	
                                      <table class="order-table table table-striped">
                            <thead>
                              <tr>
                                <th class="col-name">其他费用</th>
                                <th class="col-rating"></th>
                                <th class="col-price">单价</th>
                                <th class="col-quantity">数量</th>
                                <th class="col-sub-total">小计</th>
                              </tr>
                            </thead>
                            <tbody>
                                              </tbody>
                          </table>
                        
                        <table class="order-table total-table table table-striped">
                          <tfoot>
                            <tr>
                              <td class="col-name">合计</td>
                              <td class="col-rating"></td>
                              <td class="col-price"></td>
                              <td class="col-quantity"><s:property value="#o.totalCopies"/></td>
                              <td class="col-sub-total">￥<s:property value="#o.totalPriceShow"/></td>
                            </tr>
                          </tfoot>
                        </table>
                    </div>
            
                  </div>
               <!--    循环结束   -->
</s:iterator>


              </div>
            
              </div>
            
            </div>
        </div>

	
<!--   /content  -->
<s:action name="foot" executeResult="true"></s:action>
</div>
<!--  alert div start---->
<div id="copy_dlg_restaurant"  class="restaurant-hover-dlg right hide" >
  <div class="wrapper dark_shadow">
    <div class="callout_tip"></div>
    <div class="detail"> </div>
  </div>
</div>
<!--  alert div  end ---->

<!---/body   --> 


<script src="publicui/js/jquery-1.8.3.js"></script> 
<script src="publicui/jquery-ui/js/jquery-ui-1.9.2.custom.js"></script> 
<script src="publicui/bootstrap/js/bootstrap.min.js"></script> 
<script src="js/head.js"></script> 


</body> 
</html>
<!-- haha! everyone is a frontier -->

